package com.bed.lovewithpatientbed.dao;

import com.bed.lovewithpatientbed.pojo.WorkerMessage;
import com.bed.lovewithpatientbed.pojo.WorkerMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WorkerMessageDao {
    long countByExample(WorkerMessageExample example);

    int deleteByExample(WorkerMessageExample example);

    int deleteByPrimaryKey(Integer workerMessageId);

    int insert(WorkerMessage record);

    int insertSelective(WorkerMessage record);

    List<WorkerMessage> selectByExample(WorkerMessageExample example);

    WorkerMessage selectByPrimaryKey(Integer workerMessageId);

    int updateByExampleSelective(@Param("record") WorkerMessage record, @Param("example") WorkerMessageExample example);

    int updateByExample(@Param("record") WorkerMessage record, @Param("example") WorkerMessageExample example);

    int updateByPrimaryKeySelective(WorkerMessage record);

    int updateByPrimaryKey(WorkerMessage record);
}